﻿@{
    ViewBag.Title = "DangKy";
    Layout = "~/Views/Shared/Home/_Layout.cshtml";
}
@model BabyToys.Models.ViewModel.KhachHangViewModel
<div class="content">
    <div class="content-left">
        @{Html.RenderAction("ModuleTaiKhoan", "Home");}
        <br />
        </div>
        <div class="content-right">
            @using(Html.BeginForm())
            {
            <div class="list">
                <h1>Đăng kí tài khoản</h1>
                <div class="endtitle"></div>
                <h3>Thông tin tài khoản</h3>
                <div class="register">
                    <table>
                        <tr>
                            <td style="width: 230px;"><span>Tên đăng nhập</span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.TenDangNhap,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.TenDangNhap)</span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>Tên đầy đủ<span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.TenDayDu,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.TenDayDu)</span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>Ngày tháng năm sinh</span></td>
                            <td>
                                <input type="text" class="login-input" /></td>
                        </tr>
                        <tr>
                            <td><span>Giới tính</span></td>
                            <td>
                                <input type="text" class="login-input" /></td>
                        </tr>
                    </table>
                </div>
                <h3>Thông tin liên lạc</h3>
                <div class="register">
                    <table>
                        <tr>
                            <td style="width: 230px;"><span>Email</span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.Email,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.Email)</span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>Số điện thoại</span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.SoDienThoai,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.SoDienThoai)</span>
                            </td>
                        </tr>
                        <tr>
                            <td><span>Tỉnh\thành</span></td>
                            <td>
                                <input type="text" class="login-input" /></td>
                        </tr>
                        <tr>
                            <td><span>Địa chỉ</span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.DiaChi,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.DiaChi)</span>
                            </td>
                        </tr>
                    </table>
                </div>
                <h3>Mật khẩu</h3>
                <div class="register">
                    <table>
                        <tr>
                            <td style="width: 230px;"><span>Mật khẩu</span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.MatKhau,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.MatKhau)</span>    
                            </td>
                        </tr>
                        <tr>
                            <td><span>Nhập lại mật khẩu</span></td>
                            <td>
                                @Html.TextBoxFor(model=>model.XacNhanMatKhau,new {@class="login-input", style="width: 300px"})<span>(*)</span>
                                <span class="error">@Html.ValidationMessageFor(model=>model.XacNhanMatKhau)</span>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="register">
                    <span>@CaptchaMvc.HtmlHelpers.CaptchaHelper.Captcha(Html,"", "Nhập mã xác nhận", 5)</span>
                </div>
                <div class="register">
                    <span><input type="checkbox" name="DongY" /> Tôi đồng ý với<a href="#">điều khoản của website.</a></span>
                    <div style="float:right"><input type="submit" value="Đăng kí" class="large purple button dlLight"/></div>
                </div>
                <div class="clear"></div>
            </div>
            }
        </div>
    
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}